package com.cdy.jxc_project.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdy.jxc_project.domain.TAdmin;
import com.cdy.jxc_project.domain.TAdminRole;
import com.cdy.jxc_project.domain.vo.TAdminLoginVo;
import com.cdy.jxc_project.json.R;

import java.util.List;

/*
 * @Project:jxc_project
 * @Author:cdy(缘生)
 * @Motto:放下杂念,只为迎接明天更好的自己
 * @Date:2023/4/20 14:05
 * */
public interface TAdminService extends IService<TAdmin> {

   List<TAdmin> queryAll();

   int deleteTAdmin(Integer id);

   int insertTAdmin(TAdmin tAdmin);

   int updateTAdmin(TAdmin tAdmin );

    R authToAdmin(Integer aid, List<Integer> rids);

    List<Integer> getAdminRole(Integer id);
}
